package com.itwn.mapper;

import com.itwn.entity.ScheduleSeat;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ScheduleSeatMapper {
    int insert(ScheduleSeat record);

    List<ScheduleSeat> selectAll();

    int insertScheduleSeats(@Param("scheduleId") Integer scheduleId,
                            @Param("seats") List<Integer> seats);
}